package com.example.webwork.entity;


import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("train_seats")
public class Train_seats {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @TableField("train_no")
    private String trainNo;

    @TableField("carriage_no")
    private String carriageNo;

    @TableField("seat_no")
    private String seatNo;

    @TableField("status")
    private Integer status;

    @Version
    private Integer version;

    @TableField("lock_until")
    private LocalDateTime lockUntil;
}

